package com.duanfh.HttpAction.impl;

import com.duanfh.HttpAction.InitResponse;
import com.duanfh.Response.impl.MyResponse;
import com.duanfh.Response.Response;

import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class InitResponseImpl implements InitResponse {
    @Override
    public Response getResponse(Socket socket) throws IOException {
        OutputStream outputStream = socket.getOutputStream();
        return new MyResponse(outputStream);
    }
}
